﻿using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.SharePoint;

namespace SPGael.CustomFields
{
    class VariationLabelsFieldValue : SPFieldMultiColumnValue
    {
        private const int NUMBER_FIELDS = 2;

        public VariationLabelsFieldValue()
            : base(NUMBER_FIELDS)
        {
        }

        public VariationLabelsFieldValue(String value)
            : base(value)
        {
        }

        public String VariationId
        {
            get { return this[0]; }
            set { this[0] = value; }
        }

        public String VariationValue
        {
            get { return this[1]; }
            set { this[1] = value; }
        }
    }
}

